<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage`1[[Nebular.ExpenseManagement.IUser, Nebular.ExpenseManagement]]" %>

<%--<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Approval
</asp:Content>
--%>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <form id="form1" runat="server">
       <h2>Approval</h2>
       <asp:GridView ID="approval" runat="server"/>
    </form>
    
    <script runat="server">
        protected override void OnLoad(EventArgs e)
        {
            approval.DataSource = Model.TransactionsToApprove;
            approval.DataBind();
            base.OnLoad(e);
        }
    </script>
</asp:Content>
